Skip to content

Conversation

@asadaaron
Copy link
Collaborator

This PR introduces changes from the feat/configure-storage-service-variables branch.

📝 Summary

📁 Files Changed ( 5 files)

.env.example
.github/workflows/backend.yml
.github/workflows/worker.yml
infrastructure/config/service-secrets-config.sh.example
infrastructure/config/service-secrets-create.sh

📋 Commit Details

14d3b853 - feat: enhance environment configuration for storage services (Md Asaduzzaman Miah, 2025-10-08 15:16)

✅ Checklist

  • Code follows the project's style guidelines
  • Self-review of code has been performed
  • Code is commented, particularly in hard-to-understand areas
  • Corresponding changes to documentation have been made
  • Tests have been added/updated for new functionality
  • All tests pass locally

🧪 Testing

📸 Screenshots (if applicable)

🔗 Related Issues

- Added LOCAL_STORAGE_PATH to .env.example for local development fallback
- Updated backend and worker workflows to include STORAGE_SERVICE_URI, STORAGE_SERVICE_ACCOUNT_KEY, and LOCAL_STORAGE_PATH
- Modified service-secrets-config.sh.example to export new storage-related variables for development, staging, and production
- Enhanced service-secrets-create.sh to document new environment variables for storage services

This improves local development setup and ensures consistent access to storage services across environments.
update local feature branch with the remote main
@asadaaron asadaaron self-assigned this Oct 8, 2025
@asadaaron asadaaron requested a review from harry-rhesis October 8, 2025 13:22
@asadaaron asadaaron added this to the Release 7 (ETA 17.10.) milestone Oct 8, 2025
@asadaaron asadaaron linked an issue Oct 8, 2025 that may be closed by this pull request
@asadaaron asadaaron marked this pull request as draft October 8, 2025 13:58
…configuration

- Added STORAGE_SERVICE_URI, STORAGE_SERVICE_ACCOUNT_KEY, and LOCAL_STORAGE_PATH to backend-test.yml and worker.yml
- Updated STORAGE_SERVICE_ACCOUNT_KEY formatting in backend.yml for consistency

These changes improve the configuration for storage services across workflows, ensuring better integration and access to necessary environment variables.
- Changed STORAGE_SERVICE_ACCOUNT_KEY to decode the base64 encoded value in both backend-test.yml and backend.yml
- Ensures consistent handling of sensitive storage service credentials across workflows

This update improves security and standardizes the configuration for accessing storage services.
…kflows

- Updated STORAGE_SERVICE_ACCOUNT_KEY in backend-test.yml, backend.yml, and worker.yml to remove base64 decoding for consistency.
- Added STORAGE_PROJECT_ID, STORAGE_SERVICE_URI, STORAGE_SERVICE_ACCOUNT_KEY, and LOCAL_STORAGE_PATH to service-secrets-create.sh for improved environment variable management.

These changes enhance the security and uniformity of storage service configurations across the project.
- Updated the method of setting environment variables in backend.yml to use a more concise format.
- This change enhances readability and maintainability of the workflow configuration.
- Ensures consistent handling of environment variables across different deployment scenarios.
… service environment variables

- Added STORAGE_PROJECT_ID, STORAGE_SERVICE_URI, STORAGE_SERVICE_ACCOUNT_KEY, and LOCAL_STORAGE_PATH to the usage output.
- Enhances clarity and usability for configuring storage service settings.
…g for STORAGE_SERVICE_ACCOUNT_KEY

- Added notes in service-secrets-config.sh.example and service-secrets-create.sh to specify that STORAGE_SERVICE_ACCOUNT_KEY should be Base64 encoded JSON.
- Enhances clarity and consistency in handling service account keys across environments.
update local feature branch with the remote main branch.
…vice

- Modified .env.example to clarify the format for STORAGE_SERVICE_ACCOUNT_KEY.
- Updated backend-test.yml to include STORAGE_PROJECT_ID and corrected STORAGE_SERVICE_ACCOUNT_KEY formatting.
- Enhanced service-secrets-config.sh.example with additional storage service variables and notes on Base64 encoding for STORAGE_SERVICE_ACCOUNT_KEY.
Copy link
Contributor

@harry-rhesis harry-rhesis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @asadaaron, thank you for this PR; would you please remove STORAGE_PROJECT_ID as @EmanueleDeRossi1's instructions? Thanks!

- Removed STORAGE_PROJECT_ID from backend-test.yml, backend.yml, worker.yml, service-secrets-config.sh.example, and service-secrets-create.sh to streamline environment variable management.
- Enhances clarity and consistency in the configuration of storage service settings.
update local feature branch with the remote branch.
@asadaaron
Copy link
Collaborator Author

Hi @asadaaron, thank you for this PR; would you please remove STORAGE_PROJECT_ID as @EmanueleDeRossi1's instructions? Thanks!

Hi @harry-rhesis
I have removed the STORAGE_PROJECT_ID from the codebase. Also removed from the github secrets. cc: @EmanueleDeRossi1

…ration

- Introduced STORAGE_SERVICE_URI, STORAGE_SERVICE_ACCOUNT_KEY, and LOCAL_STORAGE_PATH as environment variables in deployment.yaml.
- These additions enhance the configuration for the storage service, improving flexibility and management of service settings.
@harry-rhesis harry-rhesis merged commit c272632 into main Oct 10, 2025
6 checks passed
@harry-rhesis harry-rhesis deleted the feat/configure-storage-service-variables branch October 10, 2025 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Configure Storage Service Variables

3 participants